<!DOCTYPE html>
<!-- saved from url=(0052)http://getbootstrap.com/docs/4.0/examples/dashboard/ -->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>科院酒店预订管理系统</title>
    <!-- Bootstrap core CSS -->
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
    <!-- <link href="static/bootstrap/css/bootstrap.min.css" rel="stylesheet"> -->
    <!-- Custom styles for this template -->
    <link th:href="@{/css/dashboard.css}" rel="stylesheet">

</head>

<body>
<div th:insert="~{admin/commons/commons::nav}"></div>

<div class="container-fluid">
    <div class="row">

        <div th:insert="~{admin/commons/commons::sidebar}"></div>
        <main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
            <h1 style="margin-bottom: 20px">添加房型</h1>
            <div class="table-responsive">
                <form th:action="@{/updateRooms}" method="post">
                    <div class="form-group" hidden="hidden">
                        <lable>房间编号：</lable>
                        <input th:value="${rooms.getId()}" type="text" name="id" class="form-control"
                               placeholder="房间编号">
                    </div>
                    <div class="form-group">
                        <lable>房间照片：</lable>
                        <input th:value="${rooms.getPhoto()}" type="text" name="photo" class="form-control"
                               placeholder="房间照片">
                    </div>
                    <div class="form-group">
                        <lable>房间号码：</lable>
                        <input th:value="${rooms.getSn()}" type="text" name="sn" class="form-control"
                               placeholder="房间号码">
                    </div>
                    <div class="form-group">
                        <lable>房间类型：</lable>
                        <input th:value="${rooms.getRoomTypeId()}" type="text" name="roomTypeId" class="form-control"
                               placeholder="房间类型">
                    </div>
                    <div class="form-group">
                        <lable>房间楼层：</lable>
                        <input th:value="${rooms.getFloorId()}" type="text" name="floorId" class="form-control"
                               placeholder="房间楼层">
                    </div>
                    <div class="form-group">
                        <lable>房间状态：</lable>
                        <input th:value="${rooms.getStatus()}" type="text" name="status" class="form-control"
                               placeholder="房间状态">
                    </div>
                    <div class="form-group">
                        <lable>房间描述：</lable>
                        <input th:value="${rooms.getRemark()}" type="text" name="remark" class="form-control"
                               placeholder="房间描述">
                    </div>
                    <button type="submit" class="btn btn-primary">修改</button>
                </form>
            </div>
        </main>
    </div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script type="text/javascript" th:src="@{/js/jquery-3.2.1.slim.min.js}"></script>
<script type="text/javascript" th:src="@{/js/popper.min.js}"></script>
<script type="text/javascript" th:src="@{/js/bootstrap.min.js}"></script>
<!-- Icons -->
<script type="text/javascript" th:src="@{/js/feather.min.js}"></script>
</body>
</html>